Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.social.user.relationship.layout--widgettypes

This contribution is part of XML component org.nuxeo.ecm.social.user.relationship.layout inside nuxeo-user-relationship-5.8.jar

Extension Point

Extension point widgettypes of component WebLayoutManager.

Contributed Items

  • <widgetType name="summary_user_relationship">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>User Relationships Summary</title>
            <description>
              <p>This widgets displays the user_relationship layout.</p>
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/user_relationship_widget_template.xhtml
          </property>
        </widgetType>
  • <widgetType name="manage_user_relations">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>User Manage Relations</title>
            <description>
              <p>This widget will manage user relations</p>
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>any</mode>
            </supportedModes>
            <properties>
              <layouts mode="any">
                <layout name="manage_user_relations_widget_type_properties_any">
                  <rows>
                    <row>
                      <widget>panelIdsToBeReRendered</widget>
                    </row>
                  </rows>
                  <widget name="panelIdsToBeReRendered" type="text">
                    <labels>
                      <label mode="any">Panel IDs to be reRendered</label>
                    </labels>
                    <helpLabels>
                      <label mode="any">
                        The list of panel IDs to be reRendered separated by coma.
                      </label>
                    </helpLabels>
                    <fields>
                      <field>panelIdsToBeReRendered</field>
                    </fields>
                  </widget>
                </layout>
              </layouts>
            </properties>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/user_relationship_add_widget_template.xhtml
          </property>
        </widgetType>

XML Source

<extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <widgetType name="summary_user_relationship">
      <configuration>
        <sinceVersion>5.5</sinceVersion>
        <title>User Relationships Summary</title>
        <description>
          <p>This widgets displays the user_relationship layout.</p>
        </description>
        <categories>
          <category>summary</category>
        </categories>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <!-- no configurable properties -->
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/summary/user_relationship_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="manage_user_relations">
      <configuration>
        <sinceVersion>5.5</sinceVersion>
        <title>User Manage Relations</title>
        <description>
          <p>This widget will manage user relations</p>
        </description>
        <categories>
          <category>summary</category>
        </categories>
        <supportedModes>
          <mode>any</mode>
        </supportedModes>
        <properties>
          <layouts mode="any">
            <layout name="manage_user_relations_widget_type_properties_any">
              <rows>
                <row>
                  <widget>panelIdsToBeReRendered</widget>
                </row>
              </rows>
              <widget name="panelIdsToBeReRendered" type="text">
                <labels>
                  <label mode="any">Panel IDs to be reRendered</label>
                </labels>
                <helpLabels>
                  <label mode="any">
                    The list of panel IDs to be reRendered separated by coma.
                  </label>
                </helpLabels>
                <fields>
                  <field>panelIdsToBeReRendered</field>
                </fields>
              </widget>
            </layout>
          </layouts>
        </properties>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/user_relationship_add_widget_template.xhtml
      </property>
    </widgetType>

  </extension>